package com.fit.demo;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.Window;
import android.view.WindowManager;
import android.widget.Button;

public class Barcode extends Activity {

	public Button readBarcode;
	public Button createBarcode;

	@Override
	public void onCreate(Bundle icicle) {
		super.onCreate(icicle);

		Window window = getWindow();
		window.addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
		setContentView(R.layout.main);

		readBarcode = (Button) findViewById(R.id.read_barcode_button);
		createBarcode = (Button) findViewById(R.id.create_barcode_button);

		readBarcode.setOnClickListener(new OnClickListener() {

			@Override
			public void onClick(View v) {

				/*
				 * Capute Activityye git
				 */

			}
		});

		createBarcode.setOnClickListener(new OnClickListener() {

			@Override
			public void onClick(View v) {

				/*
				 * Share activitye git
				 */

			}
		});
	}
}
